fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

encode

encodings.html.encode

encode(str String,replace_spaces bool) => String[src]
html encode str

mapping:

" " => " " (if replace_spaces is true)
"&" => "&"
"<" => "&lt;"
">" => "&gt;"
"\" => "&quot;"
"'" => "&#39;"
"/" => "&#x2F;"

Arguments

str String[src]
replace_spaces bool[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23